<!-- <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width>, initial-scale=1.0">
    <link rel="stylesheet" href="../css/注册.css">
    <title>Document</title>
</head>
<body>
   
    <div class="from-2">
    <form action="/register" method="post">
      
        <h2>某某酒店注册</h2>
        <input type="text" name="username" placeholder="请输入用户名"><br>
        <input type="password" name="password" placeholder="请输入密码"><br>
        <div style="display: flex;justify-content: space-between;margin-top: 5px;">
            <a href="./Login.html">
            <input type="submit" value="注册" onclick="register()" style="width: auto;">
        </div>
    </form>
    <script>
        function register(){
            console.log("注册")
        }
    </script>
</div>
</body>
</html> -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/staly.css">
</head>
<body>
    <div class="control">
        <div class="item">
            <div class="active">注册</div>
        </div>
        <div class="content">
            <div style="display: block;">
                <form action="/user/register" method="post">
                <p>用户名</p>
                <input type="text" placeholder="请输入用户名" name="username" />
                <p>密码</p>
                <input type="password" placeholder="请输入密码" name ="password"/>
                <br/>
                <input type="submit" value="注册"/>
                </form>
                   <p>已注册，<a href="./Login.html" target="top">去登录</a></p>

            </div>
        </div>
    </div>

</body>
</html>